package com.thermal.thermal_inspection.service;

import com.thermal.thermal_inspection.entity.User;
import com.thermal.thermal_inspection.vo.*;

import java.util.List;

public interface AccountService {

    /**
     * 登录
     */
    User login(String username, String password);

    /**
     * 注册
     */
    int register(User user);
    /**
     * 修改信息
     */
    int fixAccount(User user);

    /**
     * 查看个人信息
     */
    User getUserInfo(int userId);

}
